package com.py.credit.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.py.credit.dao.MaticLibraryDao;
import com.py.credit.entity.AptitudeEntity;
import com.py.credit.entity.DoctorInforEntity;
import com.py.credit.entity.NurseInforEntity;
import com.py.credit.service.MaticLibraryService;
import com.py.framework.core.common.Page;

@Service
public class MaticLibraryServiceImpl implements MaticLibraryService {

	@Autowired
	private MaticLibraryDao maticLibraryDao;

	@Override
	public List<AptitudeEntity> selectInfoFromZZ(String ZZRM, Page page) {

		return maticLibraryDao.selectInforFromZZForPage(ZZRM, page);
	}

	@Override
	public List<DoctorInforEntity> selectInfoFromDoctorForPage(String B000001, Page page) {

		return maticLibraryDao.selectInforFromDoctorForPage(B000001, page);
	}

	@Override
	public List<NurseInforEntity> selectInforFromNurseForPage(String B000001, Page page) {

		return maticLibraryDao.selectInforFromNurseForPage(B000001, page);
	}

}
